﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200057D RID: 1405
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishAeonDialogueGroupScRsp : IMessage<FinishAeonDialogueGroupScRsp>, IMessage, IEquatable<FinishAeonDialogueGroupScRsp>, IDeepCloneable<FinishAeonDialogueGroupScRsp>, IBufferMessage
	{
		// Token: 0x17001207 RID: 4615
		// (get) Token: 0x06003F1E RID: 16158 RVA: 0x000AD443 File Offset: 0x000AB643
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishAeonDialogueGroupScRsp> Parser
		{
			get
			{
				return FinishAeonDialogueGroupScRsp._parser;
			}
		}

		// Token: 0x17001208 RID: 4616
		// (get) Token: 0x06003F1F RID: 16159 RVA: 0x000AD44A File Offset: 0x000AB64A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishAeonDialogueGroupScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001209 RID: 4617
		// (get) Token: 0x06003F20 RID: 16160 RVA: 0x000AD45C File Offset: 0x000AB65C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishAeonDialogueGroupScRsp.Descriptor;
			}
		}

		// Token: 0x06003F21 RID: 16161 RVA: 0x000AD463 File Offset: 0x000AB663
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishAeonDialogueGroupScRsp()
		{
		}

		// Token: 0x06003F22 RID: 16162 RVA: 0x000AD46C File Offset: 0x000AB66C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishAeonDialogueGroupScRsp(FinishAeonDialogueGroupScRsp other) : this()
		{
			this.rogueAeonInfo_ = ((other.rogueAeonInfo_ != null) ? other.rogueAeonInfo_.Clone() : null);
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003F23 RID: 16163 RVA: 0x000AD4D4 File Offset: 0x000AB6D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishAeonDialogueGroupScRsp Clone()
		{
			return new FinishAeonDialogueGroupScRsp(this);
		}

		// Token: 0x1700120A RID: 4618
		// (get) Token: 0x06003F24 RID: 16164 RVA: 0x000AD4DC File Offset: 0x000AB6DC
		// (set) Token: 0x06003F25 RID: 16165 RVA: 0x000AD4E4 File Offset: 0x000AB6E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EKLDBJMNOHO RogueAeonInfo
		{
			get
			{
				return this.rogueAeonInfo_;
			}
			set
			{
				this.rogueAeonInfo_ = value;
			}
		}

		// Token: 0x1700120B RID: 4619
		// (get) Token: 0x06003F26 RID: 16166 RVA: 0x000AD4ED File Offset: 0x000AB6ED
		// (set) Token: 0x06003F27 RID: 16167 RVA: 0x000AD4F5 File Offset: 0x000AB6F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x1700120C RID: 4620
		// (get) Token: 0x06003F28 RID: 16168 RVA: 0x000AD4FE File Offset: 0x000AB6FE
		// (set) Token: 0x06003F29 RID: 16169 RVA: 0x000AD506 File Offset: 0x000AB706
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06003F2A RID: 16170 RVA: 0x000AD50F File Offset: 0x000AB70F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishAeonDialogueGroupScRsp);
		}

		// Token: 0x06003F2B RID: 16171 RVA: 0x000AD520 File Offset: 0x000AB720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishAeonDialogueGroupScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.RogueAeonInfo, other.RogueAeonInfo) && object.Equals(this.Reward, other.Reward) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003F2C RID: 16172 RVA: 0x000AD584 File Offset: 0x000AB784
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueAeonInfo_ != null)
			{
				num ^= this.RogueAeonInfo.GetHashCode();
			}
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003F2D RID: 16173 RVA: 0x000AD5EF File Offset: 0x000AB7EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003F2E RID: 16174 RVA: 0x000AD5F7 File Offset: 0x000AB7F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003F2F RID: 16175 RVA: 0x000AD600 File Offset: 0x000AB800
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueAeonInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.RogueAeonInfo);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.Reward);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003F30 RID: 16176 RVA: 0x000AD678 File Offset: 0x000AB878
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueAeonInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueAeonInfo);
			}
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003F31 RID: 16177 RVA: 0x000AD6E8 File Offset: 0x000AB8E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishAeonDialogueGroupScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueAeonInfo_ != null)
			{
				if (this.rogueAeonInfo_ == null)
				{
					this.RogueAeonInfo = new EKLDBJMNOHO();
				}
				this.RogueAeonInfo.MergeFrom(other.RogueAeonInfo);
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003F32 RID: 16178 RVA: 0x000AD77C File Offset: 0x000AB97C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003F33 RID: 16179 RVA: 0x000AD788 File Offset: 0x000AB988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 106U)
					{
						if (num != 114U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.reward_ == null)
							{
								this.Reward = new ItemList();
							}
							input.ReadMessage(this.Reward);
						}
					}
					else
					{
						if (this.rogueAeonInfo_ == null)
						{
							this.RogueAeonInfo = new EKLDBJMNOHO();
						}
						input.ReadMessage(this.RogueAeonInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040018F7 RID: 6391
		private static readonly MessageParser<FinishAeonDialogueGroupScRsp> _parser = new MessageParser<FinishAeonDialogueGroupScRsp>(() => new FinishAeonDialogueGroupScRsp());

		// Token: 0x040018F8 RID: 6392
		private UnknownFieldSet _unknownFields;

		// Token: 0x040018F9 RID: 6393
		public const int RogueAeonInfoFieldNumber = 13;

		// Token: 0x040018FA RID: 6394
		private EKLDBJMNOHO rogueAeonInfo_;

		// Token: 0x040018FB RID: 6395
		public const int RewardFieldNumber = 14;

		// Token: 0x040018FC RID: 6396
		private ItemList reward_;

		// Token: 0x040018FD RID: 6397
		public const int RetcodeFieldNumber = 5;

		// Token: 0x040018FE RID: 6398
		private uint retcode_;
	}
}
